//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//

package com.warrior.superdata.enums;

public enum ResultEnum {
    SUCCEED(0, "ok"),
    VALIDATED_ERROR(-1001, "参数校验失败"),
    DOCKER_ERROR(-1002, "dockerAPI请求失败"),
    FAIL(1, "fail"),
    ERROR(-1, "error");

    private int code;
    private String message;

    private ResultEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return this.code;
    }

    public String getMessage() {
        return this.message;
    }
}
